package com.polaris.live.adapter

import com.polaris.live.common.adapter.BaseBindingAdapter
import com.polaris.live.common.adapter.VBViewHolder
import com.polaris.live.databinding.AdapterNameRandomBinding
import com.polaris.live.resp.back_resp.RandomNameResp

/**
 * 随机昵称
 *
 * @author Created by 长空 on 2023/11/1/004 16:52
 */
class NikeNameRandomAdapter :
    BaseBindingAdapter<AdapterNameRandomBinding, RandomNameResp>() {

    override fun convert(holder: VBViewHolder<AdapterNameRandomBinding>, item: RandomNameResp) {
        holder.vb.apply {
            tvName.text = item.nickname
        }
    }

}